export * from './common';

export function storage(key: string, value?: any) {
  if (arguments.length === 1) return localStorage.getItem(key)
  localStorage.setItem(key, value)
}